<head>
  <meta name="layout" content="main"/>
</head>
<div class="inner">
  <h1>Account List</h1>
  <g:if test="${flash.message}">
    <div class="message">${flash.message}</div>
  </g:if>
  <g:each in="${accountList}" status="i" var="account">
    <div class="message_box">
      <mw:smallicon username="${account.username}"/>
      <g:link controller="${account.username}">${account.username}</g:link>
      / ${account.userRealName?.encodeAsHTML()}
    </div>
  </g:each>
  <div class="paginateButtons">
    <g:paginate total="${meow.Account.count()}"/>
  </div>

</div>
